Если в вашем проекте накопилось множество модульных и интеграционных тестов, их полный прогон может занимать ощутимое время. В процессе разработки чаще запускаются один или несколько конкретных тестов.
На помощь приходит команда:
dotnet test --filter
Команда позволяет запускать выборочные тесты, отфильтрованные по различным критериям:
➖ Названию метода
➖ Названию класса
➖ Атрибутам [Trait]
➖ Кастомным меткам
Примеры:
По части имени теста:
dotnet test --filter Name~Login
По имени класса:
dotnet test --filter FullyQualifiedName~MyApp.Tests.UserServiceTests
По категории через [Trait]:
dotnet test --filter Category=Integration
Комбинирование фильтров:
dotnet test --filter "(Category=Smoke)&(TestCategory!=Slow)"
Если в вашем проекте накопилось множество модульных и интеграционных тестов, их полный прогон может занимать ощутимое время. В процессе разработки чаще запускаются один или несколько конкретных тестов.
На помощь приходит команда:
dotnet test --filter
Команда позволяет запускать выборочные тесты, отфильтрованные по различным критериям:
➖ Названию метода
➖ Названию класса
➖ Атрибутам [Trait]
➖ Кастомным меткам
Примеры:
По части имени теста:
dotnet test --filter Name~Login
По имени класса:
dotnet test --filter FullyQualifiedName~MyApp.Tests.UserServiceTests
По категории через [Trait]:
dotnet test --filter Category=Integration
Комбинирование фильтров:
dotnet test --filter "(Category=Smoke)&(TestCategory!=Slow)"
Telegram has exploded as a hub for cybercriminals looking to buy, sell and share stolen data and hacking tools, new research shows, as the messaging app emerges as an alternative to the dark web.An investigation by cyber intelligence group Cyberint, together with the Financial Times, found a ballooning network of hackers sharing data leaks on the popular messaging platform, sometimes in channels with tens of thousands of subscribers, lured by its ease of use and light-touch moderation.
What is Secret Chats of Telegram
Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.